package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author  glink
* @since 2025-01-23
*/
@EqualsAndHashCode(callSuper = true)
@TableName("patrol_silent_result_detail")
@ApiModel(value="SilentResultDetailBean对象", description="静默结果-分项详情")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SilentResultDetailBean extends Model<SilentResultDetailBean> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "obj_id")
    private String objId;

    @ApiModelProperty(value = "结果主表ID")
    private String resultObjId;

    @ApiModelProperty(value = "违章内容")
    private String violationContent;

    @ApiModelProperty(value = "违章类型")
    private String violationType;

    @ApiModelProperty(value = "框信息")
    private String box;

    @ApiModelProperty(value = "OSD图像名称")
    private String osdImageName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
